package com.lhn.springbootinit.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lhn.springbootinit.model.domain.Post;
import com.lhn.springbootinit.mapper.PostMapper;
import com.lhn.springbootinit.model.dto.post.PostQueryRequest;
import com.lhn.springbootinit.model.vo.PostVO;
import com.lhn.springbootinit.service.PostService;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
* @author LENOVO
* @description 针对表【post(帖子)】的数据库操作Service实现
* @createDate 2024-07-23 06:35:39
*/
@Service
public class PostServiceImpl extends ServiceImpl<PostMapper, Post>
    implements PostService {

    @Override
    public void validPost(Post post, boolean add) {

    }

    @Override
    public QueryWrapper<Post> getQueryWrapper(PostQueryRequest postQueryRequest) {
        return null;
    }

    @Override
    public Page<Post> searchFromEs(PostQueryRequest postQueryRequest) {
        return null;
    }

    @Override
    public PostVO getPostVO(Post post, HttpServletRequest request) {
        return null;
    }

    @Override
    public Page<PostVO> getPostVOPage(Page<Post> postPage, HttpServletRequest request) {
        return null;
    }
}




